package cn.wolfcode.crm.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter@Setter
public class EmployeeQueryObject extends QueryObject{
    private String keyword;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date hireDate;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date minTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date maxTime;
}
